cmake_minimum_required(VERSION 3.22)
project(target_link_directories_test)

#add_subdirectory(lib2 output)

add_executable(main main.cpp)
target_link_libraries(main test)

target_link_directories(main PRIVATE lib)